[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
} \breakhere \stoptexdefinition \protect \starttext \section{Old alignment} \samplefile{knuth} \placeformula\startformula\startalign \NC \text{something} + \text{really} + \text{really} + \text{long} \NC= \sqrt{x} \NR[+] \intertext{\samplefile{knuth}}

[NTG-context] Re: Problem with the paragraph

2023-12-18 Thread Ursula Hermann
en Sie sich die Bedeutung der beiden Aussagen klar. \par \startitemize[n] \item \m{\forall m ∈ M : ∃f ∈ F : h(m, f)} \item ∃f ∈ F : ∀m ∈ M : h(m, f). \stopitemize % I changed the above to use \startitemize but have a look at \placeformula as well \startGrayBackground Mitunter ist es aus der Formulierun

[NTG-context] Re: Problem with the paragraph

2023-12-15 Thread Bruce Horrocks
etzungen machen Sie sich die Bedeutung der beiden Aussagen klar. \par \startitemize[n] \item \m{\forall m ∈ M : ∃f ∈ F : h(m, f)} \item ∃f ∈ F : ∀m ∈ M : h(m, f). \stopitemize % I changed the above to use \startitemize but have a look at \placeformula as well \startGrayBackground Mitunter

[NTG-context] Re: Example is not working

2023-11-03 Thread Ursula Hermann
n help me. \starttext ... \stoptext is missing! > This litte example is from the wiki, i wanted to try \placeformula \starttext > \placeformula[formula:aformula] > \startformula > y=x^2 > \stopformula > \placeformula > \startformula > \int_0^1 x^2 dx >

[NTG-context] Re: Example is not working

2023-11-03 Thread Aditya Mahajan
On Fri, 3 Nov 2023, Ursula Hermann wrote: > Dear List, > i hope somone can help me. \starttext ... \stoptext is missing! > This litte example is from the wiki, i wanted to try \placeformula \starttext > \placeformula[formula:aformula] > \startformula > y=x^2 > \stopfo

[NTG-context] Example is not working

2023-11-03 Thread Ursula Hermann
Dear List, i hope somone can help me. This litte example is from the wiki, i wanted to try \placeformula \placeformula[formula:aformula] \startformula y=x^2 \stopformula \placeformula \startformula \int_0^1 x^2 dx \stopformula After compiling there is no PDF Page . But this: Command Line

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mikael Sundqvist
le: >> >> ConTeXt ver: 2023.09.26 18:19 LMTX >> >> \setupinteraction[state=start, color=black] >> >> \starttext >> >> \placeformula[eq:equation1] >> \startformula >> x >> \stopformula >> >> References are red on the fi

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
software issue but it is > still the same. > > Here is a minimal working example: > > ConTeXt ver: 2023.09.26 18:19 LMTX > > \setupinteraction[state=start, color=black] > > \starttext > > \placeformula[eq:equation1] > \startformula > x > \stopformula

[NTG-context] Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
\setupinteraction[state=start, color=black] \starttext \placeformula[eq:equation1] \startformula x \stopformula References are red on the first page \in[eq:equation1] \at{page}[eq:equation1] \input tufte \input tufte \input tufte \input tufte \input tufte Now they become black \in[eq:equation1] \at{page

[NTG-context] Re: split align in formulas

2023-08-14 Thread Mikael Sundqvist
; james-tanton-web}. > \placeformula[eq:james-tanton-canvi-de-variables] > \startformula > \startalign > \NC ax^2 + bx + c = 0 \NC \NR > \NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR > \NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR > \NC x \left( x + \frac{

[NTG-context] split align in formulas

2023-08-14 Thread Xavier B.
I have this text and the end of the paragraph: Definitivament és el mètode més senzill. L'atribució més antiga que conec d'aquest mètode és de James Tanton \cite{canvi-variable-equacio-segon-grau, james-tanton-web}. \placeformula[eq:james-tanton-canvi-de-variables] \startformula \startalign \NC

[NTG-context] Link from a PDF to a reference of an embedded PDF

2023-07-20 Thread Gerion Entrup
nk to them within the main context document? In [2], I found something maybe related but it requires a tuc file. Example: inner.tex: ``` \starttext \startsection[title=References, reference=sec:ref] Some text \placeformula[eq:foo] \startformula 1 + 2 = 3 \stopformula or: \startitemize[n]

Re: [NTG-context] Math Formula Alignment

2023-02-24 Thread Lutz Haseloff via ntg-context
c^2 = a^2 + b^2 \stopformula \setupformulas[align=left] \placeformula \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=middle] \placeformula \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=right] \placeformula \startformula c^2 = a^2 + b^2 \stopformula \stoptext All

Re: [NTG-context] Math Formula Alignment

2023-02-23 Thread Hans Hagen via ntg-context
] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=middle] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=right] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=left] \placeformula \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=middle] \placeformula

Re: [NTG-context] Math Formula Alignment

2023-02-18 Thread Mikael Sundqvist via ntg-context
\stopformula > \setupformulas[align=middle] > \startformula c^2 = a^2 + b^2 \stopformula > \setupformulas[align=right] > \startformula c^2 = a^2 + b^2 \stopformula > \setupformulas[align=left] > \placeformula \startformula c^2 = a^2 + b^2 \stopformula > \setupformulas[align=mi

[NTG-context] Math Formula Alignment

2023-02-18 Thread Lutz Haseloff via ntg-context
[align=middle] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=right] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=left] \placeformula \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=middle] \placeformula \startformula c^2

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-31 Thread Yaroslav Beltukov via ntg-context
][prefix=yes, prefixsegments=chapter:section] > > > > \starttext > > > > Equations: \in[eq1], \in[eq2], \in[eq3], \in[eq4] > > > > Sections: \in[sec1], \in[sec2], \in[sec3], \in[sec4] > > > > Chapters: \in[chap1], \in[chap2], \in[chap3], \in[chap4] > &

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-30 Thread Hans Hagen via ntg-context
: \in[eq1], \in[eq2], \in[eq3], \in[eq4] Sections: \in[sec1], \in[sec2], \in[sec3], \in[sec4] Chapters: \in[chap1], \in[chap2], \in[chap3], \in[chap4] Remarks: \in[remark1], \in[remark2] \startbodymatter \chapter[chap1]{Chapter} \placeformula[eq1]\startformula x = y\stopformula \chapter[chap2

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Alan Braslau via ntg-context
s, prefixsegments=chapter:section] > > \starttext > > Equations: \in[eq1], \in[eq2], \in[eq3], \in[eq4] > > Sections: \in[sec1], \in[sec2], \in[sec3], \in[sec4] > > Chapters: \in[chap1], \in[chap2], \in[chap3], \in[chap4] > > Remarks: \in[remark1], \in[rema

[NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Yaroslav Beltukov via ntg-context
], \in[sec4] Chapters: \in[chap1], \in[chap2], \in[chap3], \in[chap4] Remarks: \in[remark1], \in[remark2] \startbodymatter \chapter[chap1]{Chapter} \placeformula[eq1]\startformula x = y\stopformula \chapter[chap2]{Chapter} \section[sec1]{Section} \section[sec2]{Section} \placeformula[eq1

Re: [NTG-context] Bug in math alignment

2022-11-03 Thread Otared Kavian via ntg-context
ed, > align={1:right,2:left,3:left}, > strut=yes, > ] > > \starttext > > \placeformula > \startformula > \startpdeproblem > \NC - \Delta u \NC = 0 \NC \qquad\text{in } \Omega \NR > \NC \frac{\partial u}{\partial {\bi n}} \NC = V u + \phi \NC > \qquad\text{on } \p

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Mikael Sundqvist via ntg-context
ents, as it is is shown in the following example. > > > I confirm what you said. > > However, if I use \dm{} instead of \displaystyle as following, then the > output is correct. > > \placeformula > \startformula > \startalignedcases > \NC - \Delta u \NC = 0 \NC \qquad\te

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Otared Kavian via ntg-context
use \dm{} instead of \displaystyle as following, then the > output is correct. > > \placeformula > \startformula > \startalignedcases > \NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR > \NC \dm{\frac{\partial u}{\partial {\bi n}}} > \NC = V u + \phi \NC \

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Jeong Dal via ntg-context
Dear Otared, > > I think there is an issue with the size of math fonts in \frac when used in > math alignments, as it is is shown in the following example. > I confirm what you said. However, if I use \dm{} instead of \displaystyle as following, then the output is correct. \

[NTG-context] Bug in math alignment

2022-11-02 Thread Otared Kavian via ntg-context
={\left\{}, right={\right.}, style=\displaystyle] \starttext Consider this \placeformula \startformula \startalignedcases \NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR \NC \frac{\partial u}{\partial {\bi n}} \NC = V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR

Re: [NTG-context] underbrace under matrix

2022-08-04 Thread Mikael Sundqvist via ntg-context
\,\right)}] > > \starttext > \placeformula[-]\startformula\startmathalignment >\NC\ >A \NC=\underbrace{ >\startpmatrix > \NC 5\NC 5\NR > \NC -1\NC 7\NR >\stoppmatrix}\NR >\NC\NC=\underbrace{ >\startpmatrix > \NC 2\NC 1\NR > \N

[NTG-context] underbrace under matrix

2022-08-04 Thread Jethro Djan via ntg-context
={\left(\,},right={\,\right)}] \starttext \placeformula[-]\startformula\startmathalignment

Re: [NTG-context] formula reference link undefined

2022-07-21 Thread Alan via ntg-context
On Thu, 21 Jul 2022 10:40:01 -0600 Alan via ntg-context wrote: > undefined link location > MWE: > > \setupinteraction [state=start] > > \starttext > > \placeformula [eq] > \startformula > x = 0 > \stopformula > > \page [yes] >

[NTG-context] formula reference link undefined

2022-07-21 Thread Alan via ntg-context
undefined link location MWE: \setupinteraction [state=start] \starttext \placeformula [eq] \startformula x = 0 \stopformula \page [yes] \in{formula} [eq] \stoptext ___ If your question

Re: [NTG-context] Bug in placeformula

2022-07-13 Thread Otared Kavian via ntg-context
Hi Mikael, Thank you for your reply. For the time being I am not in a hurry to solve the issue with placeformula (when the numbers are on the right, there is no problem…). Best regards: Otared > On 12 Jul 2022, at 23:08, Mikael Sundqvist via ntg-context > wrote: > […] &g

Re: [NTG-context] Bug in placeformula

2022-07-12 Thread Mikael Sundqvist via ntg-context
On Tue, Jul 12, 2022 at 6:34 PM Otared Kavian via ntg-context wrote: > > Dear Hans, dear Mikael, > > In my experiments with the new math engine, I noticed that there is an issue > with \placeformula when one sets the location of the numbers on the left: the > number

[NTG-context] Bug in placeformula

2022-07-12 Thread Otared Kavian via ntg-context
Dear Hans, dear Mikael, In my experiments with the new math engine, I noticed that there is an issue with \placeformula when one sets the location of the numbers on the left: the number is one line above the formula. Here is a minimal example: % begin bug-placeformula-left.tex \setupformulas

Re: [NTG-context] Numbering in mathalignment not working

2022-05-24 Thread Mikael Sundqvist via ntg-context
On Wed, May 25, 2022 at 5:35 AM Luis Montgomery via ntg-context wrote: > > Same issue with > > \placeformula > \startformula > \startalign[number=auto] > \NC A_1 x + B_1 y + C_1\NC = 0 \NR[+] > \NC A_2 x + B_2 y + C_2\NC = 0 \NR[+] > \stopalign > \stopformula > &

Re: [NTG-context] Numbering in mathalignment not working

2022-05-24 Thread Luis Montgomery via ntg-context
Same issue with \placeformula \startformula \startalign[number=auto] \NC A_1 x + B_1 y + C_1\NC = 0 \NR[+] \NC A_2 x + B_2 y + C_2\NC = 0 \NR[+] \stopalign \stopformula and with all the wiki examples on \startmathalignment ( https://wiki.contextgarden.net/Command/_startmathalignment). L

Re: [NTG-context] Numbering in mathalignment not working

2022-05-21 Thread śrīrāma via ntg-context
g: only one statement is numbered even if > multiple are requested. > > The following example does not produce the expected result > both the equations should be numbered when only the first one is – > > \starttext > > \placeformula > \startformula > \

Re: [NTG-context] Numbering in mathalignment not working

2022-05-19 Thread Luis Montgomery via ntg-context
esult (sample > attached): > both the equations should be numbered when only the first one is – > > \starttext > > \placeformula > \startformula > \startmathalignment > \NC a \NC = b \NR[eq:one] > \NC c \NC = d \NR[eq:two] > \stopmatha

[NTG-context] Numbering in mathalignment not working

2022-05-19 Thread śrīrāma via ntg-context
example does not produce the expected result (sample attached): both the equations should be numbered when only the first one is – \starttext \placeformula \startformula \startmathalignment \NC a \NC = b \NR[eq:one] \NC c \NC = d \NR[eq:two] \stopmathalignment

Re: [NTG-context] upload

2022-03-28 Thread Otared Kavian via ntg-context
ealignments. We can use them for example to > collect some equations with a brace (and give the collection one > number). > > /Mikael > > \setupbodyfont[lucidadk] > > \definemathsimplealign[collecteqequations][ > left={\startmathfenced[sesac]}, > right=\stopmath

Re: [NTG-context] upload

2022-03-28 Thread Mikael Sundqvist via ntg-context
ecteqequations][ left={\startmathfenced[sesac]}, right=\stopmathfenced, align={1:right,2:left}, ] \starttext %\showmakeup[mathglue] ${\mathcal ABC}$ and ${\mathscr ABC}$ \placeformula \startformula \startcollecteqequations \NC x \NC = r\sin\theta\cos\phi\NR \NC y \NC = r\sin\theta\sin\phi \NR \NC z \NC

Re: [NTG-context] mathalignment not working (? again ?)

2022-03-02 Thread śrīrāma via ntg-context
On Wednesday, March 2, 2022 1:15 PM Mikael Sundqvist via ntg-context wrote: > \starttext > \placeformula > \startformula > \startmathalignment[n=7,align={1:right,2:left,3:right,4:left,5:right,6:left,7:righ > t}] \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR > \NC 3x_

Re: [NTG-context] mathalignment not working (? again ?)

2022-03-01 Thread Mikael Sundqvist via ntg-context
On Wed, Mar 2, 2022 at 2:33 AM śrīrāma via ntg-context wrote: > > Hi, > > While setting some rather large set of equations in a document I could not > achieve proper alignment of columns in mathalignment. Below is a demonstrative > example: > > \starttext > \p

[NTG-context] mathalignment not working (? again ?)

2022-03-01 Thread śrīrāma via ntg-context
Hi, While setting some rather large set of equations in a document I could not achieve proper alignment of columns in mathalignment. Below is a demonstrative example: \starttext \placeformula \startformula \startmathalignment[n=7,align={right,left,right,left,right,left,right}] \NC x_1 \NC

Re: [NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-18 Thread Otared Kavian via ntg-context
] [align={1:right,2:left,3:left}]} \starttext \doifelsemode{lmtx}{We are using LMTX}{We are using mkiv} \placeformula[eq:1] \startformula \startalignedcases \NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\, \Omega\times (0,+\infty) \NR \NC {\partial\phi(u) \over \partial

Re: [NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-17 Thread Aditya Mahajan via ntg-context
emathmatrix[alignedcases] > [align={right,left,left}, > distance=3pt, > left={\left\{}, > right={\right.}, > style=\displaystyle] > \starttext > > \placeformula[eq:1] > \startformula > \startalignedcases &g

[NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-17 Thread Otared Kavian via ntg-context
, left={\left\{}, right={\right.}, style=\displaystyle] \starttext \placeformula[eq:1] \startformula \startalignedcases \NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\, \Omega\times (0,+\infty) \NR \NC {\partial\phi(u) \over

Re: [NTG-context] STIX2 font issues with freshly installed LMTX

2022-01-05 Thread Heinrich Paeßens via ntg-context
tgarden.net/Installing_ConTeXt_LMTX_on_MacOS/> >>> >>> and using TeXShop on macos as advised. >>> >>> However, I like to use STIX2-Fonts for Text and Math and hence my MWE to >>> test which fonts are going to be embedded (CLI pdffonts): >>> >

[NTG-context] STIX2 font issues with freshly installed FMTX

2022-01-03 Thread Heinrich Paeßens via ntg-context
): - \setupbodyfont[stixtwo] \starttext Test ß 1lIjJuQ \% § \& ?! VERSAL-ẞ- \|> --- 1234567890 --- // \placeformula[eqn:def-m] \startformula m = \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}} \stopformula \stoptext - Unfortunately the compiler throws an error — why is there a check of

[NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
disappear entirely, and the placeformula location doesn't seem to take the margin option. Thanks, Adam ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] placenamedformula in placelist (MKII vs MKIV/LMTX)

2021-03-17 Thread Adam Reviczky
Hi, Or would it be possible to just add a "list=" option to placeformula similar to placefigure? (although that might conflict with the combination of "title=") All I am really after is to label or name numbered formulas in the placelist. --- \starttext % 1 This i

[NTG-context] placenamedformula in placelist (MKII vs MKIV/LMTX)

2021-03-15 Thread Adam Reviczky
) shows what I would like to have. Using MKII I get the desired output (1 formulaname ... and 3b formulaname ...) but with MKIV and LMTX I only get the reference from the placeformula (as 1 and correctly not listed in the placelist) and none of the placenamedformula numbers. The placeformula number

Re: [NTG-context] Issue with LMTX and placeformula

2020-11-25 Thread Jairo A. del Rio
2020 a la(s) 14:20, Jean-Philippe Rey ( jean-philippe@centralesupelec.fr) escribió: > Dear list, > > \placeformula doesn't seem to work with LMTX. > > == > \starttext > \placeformula[F] > \startformula > a^2 + b^2 = c^2 > \stopformula > &

[NTG-context] Issue with LMTX and placeformula

2020-11-25 Thread Jean-Philippe Rey
Dear list, \placeformula doesn't seem to work with LMTX. == \starttext \placeformula[F] \startformula a^2 + b^2 = c^2 \stopformula The \in[F] formula \stoptext == Thank you for your help. -- Jean-Philippe Rey jean-philippe@centralesupelec.fr 91192 Gif-sur

[NTG-context] Defining \qed (was: Bug with \wordright...)

2020-08-08 Thread Otared Kavian
ees that \placeformula \startformula a^2 + b^2 = c^2 \stopformula which is the Pythagoras theorem. \qed Another proof of Pythagors theorem is based on the figure below in which one sees that: \placeformula \startformula (a+b)^2 = c^2 + 2ab \quad \imply \quad a^2 + b^2 = c^2. \qed \stopformula \stoptext %%

Re: [NTG-context] Referencing formulas doesn't work?

2020-02-09 Thread Exp
Schuster < wolfgang.schuster.li...@gmail.com> wrote: > On Mon, 10 Feb 2020 05:58:50 +0800 > Jon Wong wrote: > > > MWE: > > > > \starttext > > > > The famous result (and again) is given by > > \placeformula[formulalabel] > > \startformula

Re: [NTG-context] Referencing formulas doesn't work?

2020-02-09 Thread Wolfgang Schuster
On Mon, 10 Feb 2020 05:58:50 +0800 Jon Wong wrote: > MWE: > > \starttext > > The famous result (and again) is given by > \placeformula[formulalabel] > \startformula > c^2 = a^2 + b^2. > \stopformula > And now we can refer to formula \ref[][formulalabel]. >

[NTG-context] Referencing formulas doesn't work?

2020-02-09 Thread Jon Wong
MWE: \starttext The famous result (and again) is given by \placeformula[formulalabel] \startformula c^2 = a^2 + b^2. \stopformula And now we can refer to formula \ref[][formulalabel]. \stoptext There is a blank where the formula label should be at “now we can refer to formula ---“. Regards

[NTG-context] Some questions regarding math typesetting

2019-12-06 Thread TeXnician
://tex.stackexchange.com/questions/518262/context-number-formulas-side-by-side \placeformula \startformulas \startformula \startalign[number=auto] \NC a \NC= b \NR \stopalign \stopformula \startformula \startalign[number=auto] \NC a \NC= b \NR \stopalign \stopformula

Re: [NTG-context] Referencing equation, missing dot

2019-11-14 Thread Hans Hagen
FILE \definereferenceformat[eqref][left=(,right=)] \starttext \chapter[title=Foo] \placeformula[eq:bar] \startformula 1+1=2 \stopformula We see in \eqref[eq:bar]. \stoptext fixed in next beta

[NTG-context] Referencing equation, missing dot

2019-11-13 Thread Mikael P. Sundqvist
=)] \starttext \chapter[title=Foo] \placeformula[eq:bar] \startformula 1+1=2 \stopformula We see in \eqref[eq:bar]. \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
ection[title=List of Tables] \placelistoftables \stopsection \startsection[title=List of Symbols] \placelistofsymbols \stopsection \stopfrontmatter \startbodymatter \startsection[title=Symbols] \startsubsection[title=Using the Symbols] \placeformula \startsubformulas \startformula \startalign \NC \frac{d

Re: [NTG-context] Subformula numbering

2018-11-26 Thread luigi scarso
On Mon, Nov 26, 2018 at 8:40 AM adrien Licari wrote: > Hi everyone, > > I can't get cases subformula to work properly. My MWE, inspired from the > wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is : > > \starttext\placeformula\startformula >

[NTG-context] Subformula numbering

2018-11-25 Thread adrien Licari
Hi everyone, I can't get cases subformula to work properly. My MWE, inspired from the wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is : \starttext\placeformula\startformula \startcases \NC x = a \NR[+] \NC y = b \NR[+] \stopcases\stopformul

[NTG-context] referencing is broken in version: 2018.08.15 18:45

2018-08-15 Thread Rik Kabel
With this example code from the wiki (slightly modified for use here): \setuppapersize[A5] \starttext \placeformula[eq:pythagoras] \startformula   a^2+b^2=c^2 \stopformula This is explained in \in{Equation}{.}[eq:pythagoras] \stoptext The following output is obtained

Re: [NTG-context] referencing the equation

2018-08-09 Thread Henri Menke
I usually define my own reference formats, “ineq” for equations, “infig” for figures: \definereferenceformat[ineq][left=(,right=)] \definereferenceformat[infig][left=\labeltext{figure}] \starttext \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC

Re: [NTG-context] referencing the equation

2018-08-09 Thread Jeong Dal
Schuster > 작성: > > When you look at the first example in section 4.1 you can see that the > parentheses are inserted by hand. > > %% > \starttext > > \placeformula > \startformula \startalign > \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] > \NC a_

Re: [NTG-context] referencing the equation

2018-08-09 Thread Wolfgang Schuster
When you look at the first example in section 4.1 you can see that the parentheses are inserted by hand. %% \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2] \stopalign \stopformula As seen from (\in[eq:1

Re: [NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Rik Kabel
[     location=bottom,     title={Residual plot with time $t$ on the x-axis and     residuals $e_{jt}$ on the y-axis},     reference={fig:subject-residual}] \externalfigure[residuals][height=.242\textheight] \stopplacefigure And some more text with $x$ and $y$ and $z$, and \placeformula \startformula

[NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Dr . Thomas Möbius
and residuals $e_{jt}$ on the y-axis}, reference={fig:subject-residual}] \externalfigure[residuals][height=.242\textheight] \stopplacefigure And some more text with $x$ and $y$ and $z$, and \placeformula \startformula \startalign \NC a =\NC b \NR \NC c =\NC d \NR \stopalign \stopformula

Re: [NTG-context] Arbitrary tag of displayed formula

2017-11-08 Thread Mikael P. Sundqvist
r\star},{\star\star\star}] > \defineformula[star][numberconversion=myset] > > \starttext > \placeformula > \startstarformula > a^4 + b^4 = c^4. > \stopstarformula > > \placeformula > \startstarformula > a^5 + b^5 = c^5. > \stopstarformula > > \placeformula > \startsta

Re: [NTG-context] Arbitrary tag of displayed formula

2017-11-08 Thread Otared Kavian
Hi Mikael, I learned the following from Aditya some time ago, on his website Random Determinism: maybe you can adapt it to your needs. \defineconversion[myset][\star,{\star\star},{\star\star\star}] \defineformula[star][numberconversion=myset] \starttext \placeformula \startstarformula a^4 + b

Re: [NTG-context] mathmatrix vs substack

2017-09-14 Thread Henri
Dear Hans, Thanks for the patch.  It runs without errors again.  However, another problem surfaced.  In the MWE below the second column of the matrix is no longer centred as it should be. current version: 2017.09.08 17:24 Cheers, Henri --- \starttext \placeformula \startformula

Re: [NTG-context] mathmatrix vs substack

2017-09-11 Thread Hans Hagen
--- \starttext \placeformula \startformula   \sum_{\startsubstack \NC k \NR \NC \omega_n \NR   \stopsubstack} \stopformula \placeformula \startformula   \startmathmatrix[left=\left|,right=\right|] \NC 0 \NC 1 \NR \NC 1 \NC 0 \NR   \stopmathmatrix   = -1 . \stopformula \stoptext

[NTG-context] mathmatrix vs substack

2017-09-10 Thread Henri
Dear devs, Thank you very much for fixing this one https://mailman.ntg.nl/pipermail/ntg-context/2017/089790.html Unfortunately it seems like you broke substack and mathmatrix on the way.  MWE below fails with version 2017.09.08 17:24 Cheers, Henri --- \starttext \placeformula \startformula

Re: [NTG-context] mathalignment vs mathmatrix

2017-09-08 Thread Henri
re detailed example where you see the problem? > > Best regards: OK > > > > > On 8 Sep 2017, at 06:51, Henri <henrime...@gmail.com> wrote: > > > > \define\Up{\mathord\Uparrow} > > \define\Dn{\mathord\Downarrow} > > > > \starttext

Re: [NTG-context] mathalignment vs mathmatrix

2017-09-08 Thread Otared Kavian
ver: 2017.09.05 15:10 MKIV beta). Can you please give a more detailed example where you see the problem? Best regards: OK > On 8 Sep 2017, at 06:51, Henri <henrime...@gmail.com> wrote: > > \define\Up{\mathord\Uparrow} > \define\Dn{\mathord\Downarrow} > > \star

[NTG-context] mathalignment vs mathmatrix

2017-09-07 Thread Henri
} \define\Dn{\mathord\Downarrow} \starttext \placeformula \startformula   \startmathalignment \NC \psi_{+,\Up} ... \startmathmatrix \stopmathmatrix \NR \NC \psi_{+,\Dn} ... \NR   \stopmathalignment \stopformula \stoptext

Re: [NTG-context] next beta

2017-06-12 Thread Mathias Schickel
(or is that maybe included in the new mechanism)? Best Mathias > Am 12.06.2017 um 17:25 schrieb Hans Hagen <pra...@wxs.nl>: > > Hi, > > experimental in next beta: > > \starttext > > test > > \startbuffer > \placeformula > \startformula >x\dorecu

[NTG-context] next beta

2017-06-12 Thread Hans Hagen
Hi, experimental in next beta: \starttext test \startbuffer \placeformula \startformula x\dorecurse{100}{+#1x^{#1x}}=10 \stopformula test \startformula x\dorecurse{100}{+#1x^{#1x}}=10 \stopformula test \stopbuffer \par \setupformula[split=no] \getbuffer \par \par \setupformula

Re: [NTG-context] Strange interaction between mathalignment and mathmatrix

2017-06-06 Thread Hans Hagen
On 6/6/2017 1:06 AM, Henri Menke wrote: It seems that \NC in mathalignment is looking ahead for the next \NR, because when I wrap the matrix in an explicit brace group it works fine again: \definemathmatrix [pmatrix] [left=\left(,right=\right)] \starttext \placeformula \startformula

Re: [NTG-context] Strange interaction between mathalignment and mathmatrix

2017-06-06 Thread Hans Hagen
On 6/6/2017 1:06 AM, Henri Menke wrote: It seems that \NC in mathalignment is looking ahead for the next \NR, because when I wrap the matrix in an explicit brace group it works fine again: \definemathmatrix [pmatrix] [left=\left(,right=\right)] \starttext \placeformula \startformula

Re: [NTG-context] Strange interaction between mathalignment and mathmatrix

2017-06-05 Thread Henri Menke
Wow, mathalignment is completely screwed in beta and TL2017.  Hans, please fix! --- \starttext \placeformula \startformula   \startmathalignment[m=2] \NC a^2 + b^2 \NC= c^2 \NC a^2 + b^2 \NC= c^2 \NR   \stopmathalignment \stopformula \stoptext On Tue, 2017-06-06 at 11:06 +1200, Henri

Re: [NTG-context] Strange interaction between mathalignment and mathmatrix

2017-06-05 Thread Henri Menke
It seems that \NC in mathalignment is looking ahead for the next \NR, because when I wrap the matrix in an explicit brace group it works fine again: \definemathmatrix   [pmatrix]   [left=\left(,right=\right)] \starttext \placeformula \startformula   \startmathalignment \NC \sigma_x \NC

Re: [NTG-context] Formula numbers in RTL mode

2017-05-25 Thread Mohammad Hossein Bateni
sion, I want to bring attention to this > issue once again, in the hope of getting it resolved. > > Formula numbers are not placed at the far end when in RTL. Here is a MWE: > > > \starttext > > \input knuth > > \placeformula > \startformula > E = mc^2. > \stopfo

[NTG-context] Formula numbers in RTL mode

2017-05-15 Thread Mohammad Hossein Bateni
numbers are not placed at the far end when in RTL. Here is a MWE: \starttext \input knuth \placeformula \startformula E = mc^2. \stopformula \righttoleft \placeformula \startformula E = mc^2. \stopformula \stoptext Attached is the result from context version 2017.05.14 19:09. Using

Re: [NTG-context] eqalignno failin

2017-04-27 Thread Meer, Hans van der
I had this code: 99 \placeformula\startformula 100 \eqalignno{ 101 >> H(I,J) &= H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr 102 W(I,J) &= H(J) - H(J|I)\qquad&\hbox{\ineq[eq:wedinfo]}\cr 103 } 104 \stopformula On 26 Apr 2017, at 16:38, Otared Kav

Re: [NTG-context] eqalignno failing

2017-04-26 Thread Otared Kavian
Hi Hans, Since a few weeks (or months?…) ago the use of \eqno and \eqalignno has been changed in mkiv. It is better to use the construction such as: \placeformula \startformula \startalign \NC H(I,J) \NC = H(I) + H(J|I) \NR[eq:equivoc] \NC W(I,J) \NC = H(J) - H(J|I) \NR[eq:wedinfo] \stopalign

[NTG-context] eqalignno failing

2017-04-26 Thread Meer, Hans van der
This code now fails where before contextbeta had no problems: tex error > tex error on line 101 in file Info/waarneming.tex: ! Misplaced alignment tab character & & l.101 H(I,J) & = H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr 99 \placeformu

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-18 Thread Procházka Lukáš Ing .
rttext \placeformula \startformula j_1(2.387) = \startluacode local ffi = require("ffi") ffi.cdef[[ double _j1(double x); ]] tex.print(ffi.C._j1(2.387)) \stopluacode \stopformula \stoptext Best, Akira ___

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-11 Thread Procházka Lukáš Ing .
ll try it in the upcoming week. Thank you. Best regards, Lukas I hope that you can again load your lua DLL modules in a few days. Further, standard C functions can be used in ffi without loading a C DLL. For example, my previous example can be changed as follows: % % context test.tex % \starttext \placef

[NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-08 Thread Akira Kakuto
DLL. For example, my previous example can be changed as follows: % % context test.tex % \starttext \placeformula \startformula j_1(2.387) = \startluacode local ffi = require("ffi") ffi.cdef[[ double _j1(double x); ]] tex.print(ffi.C._j1(2.387)) \stopluacode \stopformula \stoptext B

[NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-06 Thread Akira Kakuto
ith context test.tex. % % context test.tex % \starttext \placeformula \startformula j_1(2.387) = \startluacode local ffi = require("ffi") ffi.cdef[[ double _j1(double x); ]] local mscrt = ffi.load("msvcrt") tex.print(mscrt._j1(2.387)) \stopluacode \stopformula \stoptext

Re: [NTG-context] Formula numbering conversion

2017-03-01 Thread Antoine Cailliau
\defineconversion[dummyconversion][\dummyconversion] >> \setupformulas[conversion=dummyconversion] >> \placeformula[#1]} >> >> \starttext >> \placeformulatag[tag]{test} \startformula >>E = mc^2 >> \stopformula >> See \in formu

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
ula] > \def\dummyconversion##1{#2} > \defineconversion[dummyconversion][\dummyconversion] > \setupformulas[conversion=dummyconversion] > \placeformula[#1]} > > \starttext > \placeformulatag[tag]{test} \startformula >E = mc^2 > \s

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
merals for the equations. > > [...] > > Is this a bug ? Is it the correct way to change the numbering ? > > Hi Antoine, > > it’s numberconversion (as it reads in “ConTeXt Commands”): > > \setupformulas[numberconversion=greek] > \setupbodyfont[dejavu] > \star

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Pablo Rodriguez
erconversion (as it reads in “ConTeXt Commands”): \setupformulas[numberconversion=greek] \setupbodyfont[dejavu] \starttext \placeformula[test] \startformula E = mc^2 \stopformula \stoptext BTW, if this is wrong documented in the wiki, please correct it for future reference. Pa

[NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
The following code is documented to change the numbering of the equations. However, this still use numerals for the equations. \setupformulas[conversion=characters] \starttext \placeformula[test] \startformula E = mc^2 \stopformula \stoptext Is this a bug ? Is it the correct way to change

Re: [NTG-context] Chemical reaction...

2016-11-10 Thread Alan BRASLAU
t under the formula but as > text next to it. > > \starttext > \placeformula > \startformula > \chemical{(C_2H_5)_2Zn}{DEZ} > \chemical{PLUS} > % \chemical{2H^\oplus} {waterstof (zuur)} > \chemical{GIVES} > \chemical{Zn^{2\oplus}}{zi

[NTG-context] Chemical reaction...

2016-11-08 Thread Willi Egger
is, that the {DEZ} does not appear. Further the {zinkion} and {ethan} appear not as text under the formula but as text next to it. \starttext \placeformula \startformula \chemical{(C_2H_5)_2Zn}{DEZ} \chemical{PLUS} % \chemical{2H^\oplus} {waterstof (zuur)} \chemical{GIVES} \chemical

[NTG-context] Side effect of leftmargin for formulas on \inright

2016-10-19 Thread Florian Leupold
] \starttext \inright{Text} Text \inright{0em} \placeformula[-]\startformula a^2+b^2=c^2 \stopformula \setupformulas[leftmargin=2em] \inright{2em} \placeformula[-]\startformula a^2+b^2=c^2 \stopformula \setupformulas[leftmargin=4em] \inright{4em} \placeformula[-]\startformula a^2+b^2=c^2

[NTG-context] text–formula separation inside a frame

2016-10-05 Thread Florian Leupold
, and/or (even better) a possible fix? Thanks a lot! Florian MWE: \defineframed[Framed][width=\textwidth, height=5cm, align=normal] \starttext This formula is preceded by normal spacing: \placeformula[-]\startformula 1+1=2 \stopformula \Framed{ This formula somehow is preceded by too much spacing

  1   2   3   4   5   6   7   >